<?php 
//引进配置信息
include 'include/init.php';
//引入数据库配置信息
include 'include/mysql.config.php';
//引入公共函数
include 'include/common.fun.php';
//公共数据
include 'data/common_data.php';

$sql = 'SELECT * FROM wd_case_cat';
$cases_cat = $db->getOne($sql);

if(isset($_GET['id'])){
	$id = $_GET['id'];
	$sql = "SELECT * FROM wd_case WHERE case_id=$id";
}


$cases = $db->getOne($sql);



include 'view/case_01.php';